﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListSupplyPlanChoseQRC.aspx.cs" Inherits="lcs.Web.SupplyPlanSectionQRC.ListSupplyPlanChoseQRC" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
     <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
    <link href="../../css/myStyle.css" rel="stylesheet" />
    <link href="../style.css" type="text/css" rel="stylesheet" />
    
</head>
<body>
    <form id="form1" runat="server">
    <div>
     <table cellpadding="0" cellspacing="0" class="style1">
        <tr>
            <td style=" height:15px;">
                项目名称：<asp:TextBox ID="txt_projectName" runat="server"></asp:TextBox>
&nbsp; 物料描述：<asp:TextBox ID="txt_material" runat="server"></asp:TextBox>
&nbsp;供货商：<asp:TextBox ID="txt_supplier" runat="server"></asp:TextBox>
                 &nbsp;                 </td>
        </tr>
        <tr>
            <td style=" height:15px;">
                &nbsp;</td>
        </tr>
        <tr>
            <td style=" height:15px; text-align:left;">
                采购订单号：<asp:TextBox ID="txt_purchaseid" runat="server"></asp:TextBox>
&nbsp;项目编号：<asp:TextBox ID="txt_proid" runat="server"></asp:TextBox>
&nbsp;                 <asp:Button ID="btn_sel" runat="server" CssClass="btn" onclick="btn_sel_Click" 
                    Text="查询" /></td>
        </tr>
        <tr>
            <td style=" height:15px; text-align:center;">
                &nbsp;</td>
        </tr>
        <tr>
            <td style=" height:15px; text-align:center;">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    BorderWidth="0px" CellPadding="0" CellSpacing="1" CssClass="gv" GridLines="None"
                    onrowcommand="GridView1_RowCommand" Width="2300px" PageSize="30">
                    <Columns>
                        <asp:TemplateField HeaderText="选择" Visible="False">
                              <HeaderTemplate>
                            <input id="cbo_checkAll" type="checkbox" onclick="checkall(this)" />全选
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:CheckBox ID="cbo_check" runat="server" />
                                <asp:Label ID="lbl_supplyPlanIdV" runat="server" 
                                    Text='<%# Bind("supplyPlanId") %>' Visible="False"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="操作">
                            <ItemTemplate>
                                <asp:LinkButton ID="lbn_add" runat="server" 
                                    CommandArgument='<%# Bind("supplyPlanId") %>' CommandName="lbn_add" 
                                    ForeColor="Blue">设定生产步骤</asp:LinkButton>
                                &nbsp;&nbsp;
                                
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="sname" HeaderText="供应商" />
                        <asp:BoundField DataField="projectName" HeaderText="项目名称" />
                        <asp:BoundField DataField="proid" HeaderText="项目编号" />
                        <asp:BoundField DataField="material" HeaderText="物料描述" />
                        <asp:BoundField DataField="supplyDate" DataFormatString="{0:d}" 
                            HeaderText="供货期" />
                        <asp:BoundField DataField="winBid" HeaderText="中标批次" Visible="False" />
                        <asp:BoundField DataField="purchaseid" HeaderText="采购订单号" />
                        <asp:BoundField DataField="sphone" HeaderText="供应商联系电话" />
                    </Columns>
                     <PagerStyle CssClass="mypager" />
                </asp:GridView>
            </td>
        </tr>
         <tr>
            <td style=" height:15px;  text-align:left;">
                
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" CurrentPageButtonPosition="Center"
                            PageSize="20" AlwaysShowFirstLastPageNumber="True" CustomInfoTextAlign="Left"
                    FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" NumericButtonCount="10"
                    PrevPageText="上一页" CssClass="paginator" CurrentPageButtonClass="" CustomInfoHTML="第 %CurrentPageIndex% 页|共 %PageCount% 页,%RecordCount%条记录 "
                    LayoutType="Table" ShowCustomInfoSection="Left" ShowNavigationToolTip="True"
                    ShowPageIndexBox="Always" PageIndexBoxType="DropDownList" TextAfterPageIndexBox="页"
                    TextBeforePageIndexBox="转到第" onpagechanged="AspNetPager1_PageChanged">
                </webdiyer:AspNetPager>

             
                
            </td>
        </tr>
        <tr>
            <td style=" height:15px; text-align:center;">
                &nbsp;</td>
        </tr>
         </table>
    </div>
    </form>
</body>
</html>
